home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 014 / chunk.arc / CHUNK.DOC next >
Encoding:
Text File  |  1984-02-26  |  1.1 KB  |  38 lines

  1. /*  CHUNK.C
  2.  
  3.     Copyright (c) 1984, Gordon Lee Waite
  4.                 413 W. Pleasant Street
  5.                 Maquoketa, IA  52060
  6.  
  7.  
  8.     Summary:  chunk  infile outfile begin end
  9.  
  10.     Arguments:  infile is the name of the input file
  11.  
  12.             outfile is the name of the output file
  13.  
  14.             begin is the beginning line number
  15.  
  16.             end is the ending line number
  17.  
  18.     Description:  Chunk is used to copy a part of one file to
  19.               another file.  The text that is copied is
  20.               based on line numbers.  Chunk will only work
  21.               with ASCII files.
  22.  
  23.     Example:  chunk myfile newfile 1 50
  24.  
  25.           This example will copy the first fifty lines of
  26.           myfile into a file called newfile.
  27.  
  28.     Example:  chunk myfile newfile 100 *
  29.  
  30.           This example will copy lines from myfile into
  31.           newfile, starting at line number 100, and continuing
  32.           until the end of myfile has been reached.  The '*'
  33.           symbol means copy to the end of the file.
  34.  
  35.     Note:  Currently, the longest line that chunk can deal with
  36.            is 512 characters.
  37. */
  38.